package com.tiny.work.test.stackoverflow;

public class Team {


    String teamName;
    String[] player = new String[4];
    Competition[] competitions = new Competition[2];

    public Team(String newTeamnName, String[] newPlayer, Competition[] newCompetition) {
        teamName = newTeamnName;
        player = newPlayer;
        competitions = newCompetition;

    }

    public static void main(String[] arg) {
        Team marc = new Team(
                "marcTeam",
                new String[]{"marcello", "dfsf", "sdfsd"},
                new Competition[]{new Competition()});
    }

}